main{
    margin: 51px 0 67px 0;
    width: 100%;
    background: #fff;
    overflow-x: hidden;
    position: relative;
    section{
        padding: 0 15px;
        border-radius: 9px;
        overflow: hidden;
    }

    // 其他产品
    section.otherProduct{
        margin-bottom: 10px;
        height: 30px;
        justify-content: space-between;
        align-items: center;
        .product_item{
            position: relative;
            display: block;
            padding: 2px;
            width: calc((100% - 10px) / 3);
            height: 30px;
            font-size: 14px;
            border: 1px solid rgba(0, 0, 0, 0.05);
            border-radius: 16px;
            .logo{
                display: inline-block;
                width: 26px;
                height: 26px;
                line-height: 30px;
                border-radius: 50%;
                overflow: hidden;
                vertical-align: middle;
                img{
                    width: 100%;
                    height: 100%;
                }
            }
            .name{
                line-height: 30px;
                vertical-align: middle;
            }
        }
    }

    // 海报轮播图
    section.posterCarousel{
        margin-bottom: 15px;
        a{
            display: block;
            width: 100%;
            height: 100%;
            img{
                border-radius: 9px;
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .dot{
            bottom: 5px;
            span{
                margin: 0 3px !important;
                width: 5px;
                height: 5px;
                background: rgba(255, 255, 255, 0.8);
            }
        }
    }

    // 主要类别
    section.categories{
        justify-content: space-between;
        .category_item{
            flex-direction: column;
            align-items: center;
            width: 18%;
            padding: 0 5px;
            box-sizing: border-box;
            img{
                width: 100%;
            }
            span.name{
                margin-top: 5px;
                font-size: 11px;
                color: rgba(0, 0, 0, 0.8);
            }
        }
    }

    // 团购 & 推荐
    section.recommendArea{
        justify-content: space-between;
        margin-top: 15px;
        .recommend_item{
            box-sizing: border-box;
            padding: 10px 8px;
            width: calc((100% - 2.5px) / 2);

            background-color: #fff;
            background-image: linear-gradient(rgb(255,245,240)0%,rgb(255,255,255)50%);
            border-radius: 9px;
            overflow: hidden;
            filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.05));
            .head{
                padding: 5px 0;
                line-height: 14px;
                letter-spacing: 0.001rem;
                .title{
                    margin-right: 5px;
                    font-size: 15px;
                    font-weight: 500;
                }
                .time{
                    flex: 1;
                    font-size: 11px;
                    color: rgba(0, 0, 0, 0.8);
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }
                span.iconfont{
                    display: inline-block;
                    width: 14px;
                    height: 14px;
                    font-size: 14px;
                    color: #818181;
                }
            }
        }
        // 豆小铺团购
        .group_purchase{
            display: flex;
            flex-direction: column;
            .content{
                flex: 1;
                margin: 5px -5px 0;
                .swiper{
                    position: relative;
                    width: 100%;
                    height: 100%;
                    .swiper-wrapper{
                        width: 100%;
                        height: 100%;
                        .swiper-slide{
                            border-radius: 5px;
                            // overflow: hidden;
                            position: relative;
                            // width: 95% !important;
                            .img{
                                position: relative;
                                height: 100%;
                                padding-left: 100%;
                                img{
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    width: 100%;
                                    height: 100%;
                                    object-fit: cover;
                                    object-position: 50%;
                                }
                            }
                            .main{
                                position: absolute;
                                bottom: 0;
                                left: 0;
                                width: 100%;
                                height: 50%;
                                flex-direction: column;
                                justify-content: flex-end;
                                // background: #fff;
                                span{
                                    display: block;
                                    box-sizing: border-box;
                                    padding-left: 10px;
                                    width: 100%;
                                }
                                span.tag{
                                    font-size: 12px;
                                    font-weight: 600;
                                    color: #ff9a4c;
                                    margin-bottom: 5px;
                                }
                                span.name{
                                    font-size: 13px;
                                    font-weight: 600;
                                    color: #fff;
                                    line-height: 1.5;
                                }
                                span.decription{
                                    margin-bottom: 10px;
                                    font-size: 11px;
                                    color: #fff;
                                    line-height: 1.5;
                                }
                            }
                        }
                    }
                }
            }
        }

        // 每周推荐
        .weekly_recommend{
            .content{
                flex-wrap: wrap;
                width: 100%;
                .wares_item_s{
                    width: 50%;
                }
            }
        }
    }

    // 豆瓣豆品  秋日酒单
    section.douPin,section.autumnWineList{
        position: relative;
        margin: 15px 15px 0;
        padding: 3px;
        box-sizing: border-box;
        .tag{
            position: absolute;
            display: block;
            top: 3px;
            left: 3px;
            padding: 8px 5px;
            font-size: 15px;
            font-weight: 600;
            color: #fff;
            border-top-left-radius: 7px;
            border-bottom-right-radius: 7px;
        }
        .poster{
            border-radius: 7px;
            overflow: hidden;
            img{
                width: 100%;
            }
        }
        .main{
            position: relative;
            .head{
                margin: 0 10px;
                align-items: center;
                justify-content: space-between;
                .name{
                    font-size: 15px;
                    font-weight: 600;
                    color: #fff;
                    flex: 1;
                }
                .buy_now_btn{
                    display: block;
                    padding: 4px 8px;
                    font-size: 13px;
                    line-height: 14px;
                    background: #fff;
                    border-radius: 5px;
                    span.iconfont{
                        display: inline-block;
                        font-size: 14px;
                        width: 14px;
                        height: 14px;
                        line-height: 14px;
                    }
                }
            }
            .subhead{
                font-size: 13px;
                color: #fff;
                margin: 10px;
            }
            .wares_area{
                width: 100%;
                border-radius: 7px;
                background: #fff;
                .wares_item_s{
                    width: 25%;
                }
            }
        }
        .main:before{
            content: '';
            position: absolute;
            top: 0;
            bottom: 100%;
            margin-top: -100px;
            width: 100%;
            height: 100px;
        }
    }
    // 豆瓣豆品
    section.douPin{
        background: #4e7862;
        .tag{
            background: #4e7862;
        }
        .main{
            background: #4e7862;
        }
        .main:before{
            background-image: linear-gradient(rgba(0,0,0,0)0%,#4e7862 100%);
        }
    }
    // 秋日酒单
    section.autumnWineList{
        background: #cc681a;
        .tag{
            background: #cc681a;
        }
        .main{
            background: #cc681a;
        }
        .main:before{
            background-image: linear-gradient(rgba(0,0,0,0)0%,#cc681a 100%);
        }
    }

    // 豆小铺海报
    section.douShop-poster{
        margin-top: 15px;
        img{width: 100%;height: 100%;}
    }
    
    // 商品 小个
    .wares_item_s{
        flex-shrink: 0;
        box-sizing: border-box;
        padding: 5px 5px 15px;
        position: relative;
        .img{
            position: relative;
            width: 100%;
            height: 0;
            padding-top: 100%;
            border-radius: 9px;
            overflow: hidden;
            img{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: 50%;
            }
        }
        span.name{
            display: block;
            width: 100%;
            line-height: 1.5;
            font-size: 11px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .price{
            display: block;
            text-align: center;
            font-size: 12px;
            font-weight: 600;
            color: red;
            span.new{
                font-size: 11px;
            }
            span.old{
                font-size: 10px;
                text-decoration: line-through;
                color: #818181;
            }
        }
    }

    // 商品列表  商品大个
    .wares_area{
        width: 100%;
        justify-content: space-between;
        .wares_area_left,.wares_area_right{
            width: calc((100% - 5px) / 2);
        }
        .wares_item_l{
            flex-shrink: 0;
            box-sizing: border-box;
            margin-bottom: 20px;
            position: relative;
            .img{
                margin-bottom: 5px;
                position: relative;
                width: 100%;
                height: 0;
                padding-top: 100%;
                border-radius: 9px;
                overflow: hidden;
                img{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: 50%;
                }
            }
            .title{
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                white-space: normal;
                word-wrap: break-word;
                overflow: hidden;
                .snacks{
                    display: inline-block;
                    height: 20px;
                    width: 32.5px;
                    vertical-align: middle;
                    img{
                        height: 100%;
                    }
                }
                .description{
                    font-size: 15px;
                    line-height: 1.5;
                    vertical-align: middle;
                }
            }
            .looking_more{
                margin: 3px 0;
                align-items: center;
                justify-content: flex-start;
                .discount_tag{
                    margin-right: 3px;
                    padding: 3px;
                    font-size: 11px;
                    font-weight: 400;
                    color: rgb(233, 17 ,17);
                    background: rgba(233, 17 ,17,0.1);
                    border-radius: 5px;
                    
                }
                .looking{
                    font-size: 11px;
                    color: #818181;
                }
            }
            .price_addCart{
                justify-content: space-between;
                align-items: flex-end;
                .price{
                    flex: 1;
                    font-size: 15px;
                    .new{
                        color: rgb(233, 17 ,17);
                        font-weight: 600;
                        .num{
                            font-size: 16px;
                        }
                        .unit{
                            font-size: 11px;
                            color: #818181;
                            font-weight: 400;
                        }
                    }
                    .old{
                        font-size: 13px;
                        color: #818181;
                        text-decoration: line-through;
                    }
                }
                .add_cart_btn{
                    width: 30px;
                    height: 30px;
                    border-radius: 50%;
                    background-color: rgb(233, 17 ,17);
                    background-image: url('../img/icon/cart-red.png');
                    background-position: -1px -1px;
                    background-size: cover;
                    background-repeat: no-repeat;
                }
            }
            .group_buying{
                margin-top: 5px;
                height: 20px;
                &>span{
                    padding: 4px 8px;
                    font-size: 13px;
                    font-weight: 600;
                    line-height: 20px;
                    color: rgba(214, 123, 16, 1);
                    background: rgba(214, 123, 16, 0.1);
                    border-radius: 5px;
                    span.iconfont{
                        display: inline-block;
                        font-size: 14px;
                        width: 14px;
                        height: 14px;
                        line-height: 20px;
                        color: rgba(214, 123, 16, 1);
                    }
                }
            }
        }
    }
 
    // 豆小铺零食 商品块 4个商品
    section.douShopSnacks{
        margin-top: 15px;
    }

    // 全部好物
    .allCommodities{
        .head{
            font-size: 16px;
            font-weight: 500;
            margin: 15px 0 5px 0;
            padding: 0 15px;
        }
        .tagArea{
            height: 47px;
        }
        .type_tags{
            width: 100%;
            box-sizing: border-box;
            padding: 10px 15px;
            .container{
                white-space: nowrap;
                overflow: auto;
                span.tag{
                    display: inline-block;
                    margin-right: 10px;
                    padding: 5px 7px 10px;
                    border-radius: 5px;
                    font-size: 12px;
                    color: rgba(0, 0, 0, 0.5);
                    background: rgba(0, 0, 0, 0.08);
                }
                span.current{
                    color: rgba(255, 153, 0, 1);
                    background: rgba(255, 153, 0, 0.2);
                }
            }
            .container::-webkit-scrollbar{display: none;}
        }
        .fixed{
            position: fixed;
            top: 50px;
            left: 0;
            z-index: 1000;
            padding: 10px 15px;
            background: #fff;
        }
        .wares_area{
            box-sizing: border-box;
            padding: 0 15px;
            margin-top: 10px;
        }
    }

    // 商品选购信息
    .productSelectionDetail{
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1100;
        width: 100%;
        height: 100%;
        .main{
            position: absolute;
            bottom: 0;
            box-sizing: border-box;
            padding: 15px;
            height: calc(100% - 11px);
            width: 100%;
            border-top-right-radius: 5px;
            border-top-left-radius: 5px;
            background: #f7f7f7;
            transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
            .head{
                justify-content: flex-start;
                align-items: flex-start;
                margin-bottom: 20px;
                .poster{
                    flex-shrink: 0;
                    margin-right: 15px;
                    width: calc(40%);
                    height: 0;
                    padding-top: 40%;
                    overflow: hidden;
                    position: relative;
                    img{
                        position: absolute;
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        object-position: 50%;
                    }
                }
                .info{
                    flex-grow: 1;
                    flex-direction: column;
                    justify-content: flex-start;
                    .name{
                        font-size: 15px;
                        font-weight: 600;
                        line-height: 1.3;
                    }
                    .price{
                        margin: 10px 0;
                        font-size: 14px;
                        color: rgb(233, 17 ,17);
                        
                    }
                    .paramTips{
                        font-size: 11px;
                        color: #818181;
                        line-height: 1.3;
                        span{display: inline-block;}
                    }
                }
                .closeArea{
                    span{
                        font-size: 20px;
                        width: 20px;
                        height: 20px;
                        display: block;
                    }
                }
            }
            .paramChooseArea{
                font-size: 11px;
                .paramItem{
                    flex-direction: column;
                    margin: 5px 0;
                    .paramName{
                        display: block;
                        margin: 5px 0;
                        font-weight: 500;
                    }
                    .paramValue{
                        margin: 5px 0;
                        white-space: wrap;
                        span{
                            display: inline-block;
                            margin: 5px 10px 5px 0;
                            padding: 10px 15px;
                            background: #fff;
                            border-radius: 3px;
                        }
                        .selected{
                            color: rgb(233, 17 ,17);
                            background: rgba(233, 17 ,17,0.05);
                        }
                    }
                }
            }
            .quantity{
                justify-content: space-between;
                align-items: center;
                .paramName{
                    font-size: 11px;
                    font-weight: 500;
                }
                .plus_minus{
                    span{
                        display: block;
                        padding: 5px;
                        width: 15px;
                        height: 15px;
                        font-size: 15px;
                        color: #000;
                    }
                    .minus,.plus{
                        background: #fff;
                        border-radius: 3px;
                    }
                    .number{
                        text-align: center;
                    }
                    .disabled{opacity: 0.4;}
                }
            }
            .operations{
                position: absolute;
                bottom: 0;
                left: 0;
                padding: 8px 15px;
                width: 100%;
                box-sizing: border-box;
                justify-content: space-between;
                div{
                    box-sizing: border-box;
                    padding: 15px;
                    width: calc((100% - 5px) / 2);
                    border-radius: 9px;
                    color: #fff;
                    text-align: center;
                    
                }
                .add_to_cart{
                    background: rgba(255, 153, 0, 1);
                }
                .buy_now{
                    background: rgb(233, 17 ,17);
                }
            }
        }
        .mask{
            width: 100%;
            height: 100%;
            transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
            background-color: rgba(0, 0, 0, 0.5);
        }
        
        .tipsArea{
            display: none;
            margin: auto;
            div{
                display: none;
                position: absolute;
                top: 0;
                bottom: 0;
                left: 0;
                right: 0;
                margin: auto;
                padding: 10px 15px;
                width: 120px;
                height: 20px;
                line-height: 20px;
                text-align: center;
                font-size: 13px;
                color: #fff;
                border-radius: 5px;
                background: rgba(0, 0, 0, 0.5);
            }
        }
    }

}